package promotion.test;

import org.restlet.resource.ServerResource;
import promotion.db.Database;
import promotion.rest.Application;
import promotion.rest.Serveur;

/**
 *
 * @author Lou
 */
public abstract class ResourceTestCase<T extends ServerResource> {

    private Database database;
    private Application application;
    private Serveur serveur;

    abstract protected T createResource();

    public T newResourceInstance() {
        T resource = createResource();

        return resource;
    }

}
